hipreme_engine v1.0.14 (2023-12-23T18:43:10Z)
Dub
Repo
indexOf
hip
util
array
Returns index of element if it finds or returns -1 if not
int
indexOf
(T[] arr, Q element, int startIndex)
int
indexOf
(T[] arr, T element, int startIndex)
pure nothrow @
nogc
int
indexOf
(
T
)
(
in
T
[]
arr
,
T
element
,
int
startIndex
= 0
)
int
indexOf
(T tuple, V value)
Meta
Source
See Implementation
hip
util
array
functions
array
binarySearch
contains
indexOf
isEmpty
join
lastIndexOf
popFront
printArrayWithoutValues
remove
swapAt
swapElementsFromArray
Returns index of element if it finds or returns -1 if not